package com.ams.entity;

import java.io.Serializable;
import java.util.Set;




public class Role implements Serializable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8440010154200440134L;


	private int roleId;
	
	
	private Set<User> users;
	
	
	private Set<Permi> permis;
	
	private String roleName;
	
	public Role(){}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Set<User> getUsers() {
		return users;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}

	public Set<Permi> getPermis() {
		return permis;
	}

	public void setPermis(Set<Permi> permis) {
		this.permis = permis;
	}
	
	public String toString()
	{
		return roleName;
	}
}
